#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QMenuBar>
#include <QTextEdit>
#include "easyInput/easyinput.h"
#include <QCoreApplication>
#include <QString>
#include <iostream>


#include "mainwindow.h"

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::Widget *ui;

    void mainWindowInit();

    easyInput *eInput;
    bool inputFlag;
    bool eventFilter(QObject *watched,QEvent *event);

private:
    void slotHideInput();

};
#endif // WIDGET_H
